import { LazyMotion, m, domMax } from 'framer-motion'
import { Props } from '#/index'

export function MotionLazy({ children }: Props) {
  return (
    <LazyMotion strict features={domMax}>
      <m.section style={{ height: '100%', width: '100%', position: 'relative' }}> {children} </m.section>
    </LazyMotion>
  )
}
